#pragma once
#include <iostream>
using namespace std;

class ComplexRegular
{
private:
        int a;
        int b;
        friend ostream& operator<<(ostream &out, ComplexRegular &c);
public:
        ComplexRegular(int a=0, int b=0);
        ~ComplexRegular();
public:
        void printComplex();
public:
        //+
        ComplexRegular operator+(ComplexRegular &c);

        //-
        ComplexRegular operator-(ComplexRegular &c);

        //前置++
        ComplexRegular& operator++();

        //后置++
        ComplexRegular operator++(int);

         //前置--
        ComplexRegular& operator--();

        //后置--
        ComplexRegular operator--(int);
};


